<form action="mod_clientes3.php" method="POST">
<?php
$clave=$_REQUEST['id'];
echo"<input type='hidden' name='clave2' value='$clave'>";
include "db.php";
$sql="SELECT * FROM moy_clientes WHERE id_c='$clave'";
$result = mysql_query($sql) or die( mysql_error());
while ($fila = mysql_fetch_assoc($result)) {
echo "
<table align='center'>
	<tbody>
		<tr>
			<td colspan='2'><b>Modificar Cliente</b></td>
		</tr>
		<tr>
			<td>Nombre:</td>
			<td><input type='text' name='nombre2' value=". $fila['nombre'] . "></td>
		</tr>
		<tr>
			<td>Direccion:</td>
			<td><input type='text' name='dir2' value=". $fila['direccion'] . "></td>
		</tr>
		<tr>
			<td>Telefono:</td>
			<td><input type='text' name='tel2' value=". $fila['telefono'] . "></td>
		</tr>
		<tr>
			<td>Correo:</td>
			<td><input type='text' name='corr2' value=". $fila['email'] . "></td>
		</tr>";
		}
echo "</tbody>
</table>
";
echo "<center><input type='submit'></form>";
echo "</form>";